﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace XYZshell.Game.CardGameEngine
{
	/// <summary>
	/// 持续时间类
	/// </summary>
	public  class Lifetime
	{
		/// <summary>
		/// 构造函数
		/// </summary>
		public Lifetime():this(0)
		{ }
		/// <summary>
		/// 构造函数
		/// </summary>
		/// <param name="turn">持续的回合数</param>
		public Lifetime(int turn)
		{
			Turns = turn;
		}
		/// <summary>
		/// 要持续的回合数,0表示每回合都执行,具体数字表示执行那么多回合数
		/// </summary>
		public int Turns
		{
			get;
			set;
		}
		
	}
}
